package com.powernode.dao;


import com.powernode.pojo.DormitoryAdmin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author 姚崇崇
 */
@Mapper
public interface DormitoryAdminMapper {

    void update(DormitoryAdmin dormitoryAdmin);

    void insert(DormitoryAdmin dormitoryAdmin);

    void deletes(Integer[] ids);

    DormitoryAdmin select(Integer id);

    int count(Map<String, Object> param);

    List<DormitoryAdmin> selectPageResult(Map<String, Object> param);

    DormitoryAdmin selectByIsbn(String doctorIsbn);

    Integer countIsbn(DormitoryAdmin doctor);

    DormitoryAdmin selectById(Integer id);

    DormitoryAdmin selectByStudentNumber(String studentNumber);

    void deletesByStudentNumber(String[] studentNumber);


    DormitoryAdmin selectBySite(String site);
}
